import {Component, OnInit} from '@angular/core';
import {PageInfo} from '../../util';

@Component({
  selector: 'app-search-list',
  templateUrl: './search-list.component.html',
  styleUrls: ['./search-list.component.css']
})
export class SearchListComponent implements OnInit {
  pageInfo: PageInfo;
  movieKeys: Array<string>;

  constructor() {
    this.pageInfo = searchResult;
    this.movieKeys = movieKeys;
  }

  ngOnInit() {
  }


  changePage(page: number) {

  }

}

export let searchResult: PageInfo = new PageInfo();
export let movieKeys: Array<string> = new Array<string>(0);

